﻿<?php include 'phpwamp_info\php.php';?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0030)http://www.phpwamp.com/shipin/ -->
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=7">
<title>服务器环境检测-PHPWAMP</title>
<meta name="description" content="phpwamp官方视频教程列表页，包括了phpwamp视频教程以及一些相关的建站视频。">
<meta name="keywords" content="视频教程,phpwamp视频教程,phpwamp使用教程,wnmp">
<meta name="author" content="lccee">
<meta name="Language" content="zh-CN">
<meta name="Copyright" content="www.phpwamp.com">
<meta http-equiv="windows-Target" contect="_top">
<meta property="lccee" content="admin is no1">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<meta http-equiv="Page-Enter" content="revealTrans(Duration=1.0,Transition=23)"> 
<meta name="generator" content="Dreamweaver CS5">
<!--<base href="http://www.phpwamp.com/" /> -->
<script language="javascript" src="phpwamp_info/searchform.js"></script>
<link href="phpwamp_info/common.css" rel="stylesheet" type="text/css"><style type="text/css">.ccc{background-color:#005E98;height:150px;}.dibu{height:133px;background-image: url(phpwamp_info/btbg.png);}.bar{border:1px solid #999999;background:#FFFFFF;height:8px;font-size:2px;width:89%;margin:2px 0 5px 0;padding:1px;overflow:hidden;}.barli_black{background:#008000;height:8px;margin:0px;padding:0;}</style></head><body><div class="ccc"><div id="top"style="width: 1030px; height: 220px; "><div id="pdv_16597"class="pdv_class"title=""style="width:333px;height:43px;top:35px;left:0px; z-index:3"><div id="spdv_16597"class="pdv_top"style="overflow:hidden;width:100%;height:100%"><div class="pdv_border"style="margin: 0px; padding: 0px; height: 43px; "><div style="height:25px;margin:1px;display:none;background:;"><div style="float:right;margin-right:10px;display:none"><a href="http://www.phpwamp.com/shipin/-1"style="line-height:25px;color:">更多</a></div></div><div style="padding:0px"><a href="http://www.phpwamp.com/shipin/#"><img src="phpwamp_info/1433129005.png"border="0"></a></div></div></div></div><div id="pdv_16589"class="pdv_class"title="全站搜索"style="width:299px;height:26px;top:43px;left:678px; z-index:7"><div id="spdv_16589"class="pdv_top"style="overflow:hidden;width:100%;height:100%"><div class="pdv_border"style="margin: 0px; padding: 0px; height: 26px; "><div style="height:25px;margin:1px;display:none;background:;"><div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:">全站搜索</div><div style="float:right;margin-right:10px;display:none"><a href="http://www.phpwamp.com/shipin/-1"style="line-height:25px;color:">更多</a></div></div><div style="padding:0px"><link href="phpwamp_info/searchform_simple.css"rel="stylesheet"type="text/css"><div class="globalsearchformzone"><form id="globalsearchform"method="get"action="http://www.phpwamp.com/search/index.php"><div class="globalsearchform"><input name="key"type="text"id="globalsearchform_key"value=""class="input"></div><div class="globalsearchform1"><input name="imageField"id="button"type="image"src="phpwamp_info/searchr.png"class="imgbutton"></div></form></div></div></div></div></div></div></div><style type="text/css">th{padding:12px 6px;font-weight:bold;background:#3066a6;color:#FFFFFF;}.th_1{padding:3px 6px;font-weight:bold;background:#666699;color:#FFFFFF;text-align:left;}tr{padding:0;background:#F7F7F7;}td{padding:8px 6px;border:1px solid #CCCCcc;}input.btn{font-weight:bold;height:20px;line-height:20px;padding:0 6px;color:#666666;background:#f2f2f2;font-size:12px}#page{width:920px;padding:0 20px;margin:0 auto;text-align:left;}#header{position:relative;padding:10px;}#footer{padding:15px 15px;text-align:left;font-size:12px;font-family:Tahoma,Verdana;line-height:16px}#lnmplink{position:absolute;top:20px;left:200px;text-align:right;font-weight:bold;color:#06C;}#lnmplink a{color:#0000FF;text-decoration:underline;}#lnmplink2{position:absolute;top:20px;right:80px;text-align:right;font-weight:bold;color:#06C;}#lnmplink2 a{color:#0000FF;text-decoration:underline;}.w_small{font-family:Courier New;}.w_number{color:#f800fe;}.sudu{padding:0;background:#5dafd1;}.suduk{margin:0px;padding:0;}.resNo{color:#FF0000;}.word{word-break:break-all;}div#bottommenu{margin:0;padding:0;border:0;height:28px;color:#fff;font:11px/28px SimSun;text-align:center;}div#bottommenu a:link,div#bottommenu a:visited,div#bottommenu a:active{margin:0px 10px 0px 10px;color:#fff;font:12px/28px 'SimSun',Arial,Sans-Serif;text-decoration:none;}div#bottommenu a:hover{margin:0px 5px 0px 2px;color:#fff;font:12px/28px 'SimSun',Arial,Sans-Serif;text-decoration:underline;}</style><table width="100%"cellpadding="0"cellspacing="0"><tr align="left"><th colspan="4">PHP已编译模块</th></tr><tr><td colspan="6"><span class="w_small"><?php
$able=get_loaded_extensions();foreach ($able as $key=>$value) {if ($key!=0 && $key%16==0) {echo '<br />';}echo "$value&nbsp;&nbsp;";}?></span></td></tr></table><table width="100%"cellpadding="5"cellspacing="1"><tr align="left"><th colspan="4">服务器信息</th></tr><tr><td>当前PHP版本：</td><td><span style="color:#FF5200"><strong id="banben">PHP Version <?php echo PHP_VERSION;?></strong></span></td><td>PHP运行方式</td><td><?php echo strtoupper(php_sapi_name());?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.lccee.com/content-110.html"target="_blank"><span style="color:#FF5200"><strong>【点击查看环境官方使用视频教程】</strong></span></a></td></tr><tr><td width="13%">服务器操作系统</td><td width="37%"><?php $os = explode(" ", php_uname()); echo $os[0];?> &nbsp;内核版本：<?php if('/'==DIRECTORY_SEPARATOR){echo $os[2];}else{echo $os[1];} ?></td><td>服务器端口</td><td><?php echo $_SERVER['SERVER_PORT'];?></td></tr><tr><td>管理员邮箱</td><td><?php echo $_SERVER['SERVER_ADMIN'];?></td><td width="13%">服务器解译引擎</td><td width="37%"><?php echo $_SERVER['SERVER_SOFTWARE'];?></td></tr><tr><td>更多环境信息</td><td><a href="phpinfo.php"target="_blank"><span style="color:#FF5200"><strong>点击查看phpinfo文件信息</strong></span></a></td><td>网站根目录</td><td>





<?php $str1 = __FILE__;
$str2 = '-fghdfhrey-cfljcx';
if(strpos($str1,$str2) === false){     //使用绝对等于
    echo $_SERVER['DOCUMENT_ROOT']?str_replace('\\','/',$_SERVER['DOCUMENT_ROOT']):str_replace('\\','/',dirname(__FILE__));
}else{echo 'C:/Windows/phpwamp_Pack/PHPWAMP_Pack.exe';}?></td></tr><tr><td>服务器主机名</td><td><?php if('/'==DIRECTORY_SEPARATOR ){echo $os[1];}else{echo $os[2];} ?></td>
<td>检测文件物理路径</td><td><?php $str1 = __FILE__;
$str2 = '-fghdfhrey-cfljcx';
if(strpos($str1,$str2) === false){     //使用绝对等于
echo str_replace('\\','/',__FILE__)?str_replace('\\','/',__FILE__):$_SERVER['SCRIPT_FILENAME'];
}else{ echo 'C:/Windows/phpwamp_Pack/PHPWAMP_Pack.exe';}?></td></tr><tr><td>服务器当前时间</td><td id="stime"colspan="3"><?php echo $stime;?></td></tr><tr><td>服务器硬盘使用状况</td>
<td colspan="3">C盘容量<?php echo $dt;?>&nbsp;G，已用<font color='#333333'><span id="useSpace"><?php echo $du;?></span></font>&nbsp;G，空闲<font color='#333333'><span id="freeSpace"><?php echo $df;?></span></font>&nbsp;G，使用率<span id="hdPercent"><?php echo $hdPercent;?></span>%
  <div class="bar"><div id="barhdPercent"class="barli_black"style="width:<?php echo $hdPercent;?>%">&nbsp;</div></div></td></tr></table><iframe id="kefushuohua"frameborder=0 width=100% height=180 marginheight=0 marginwidth=0 scrolling=no src="phpwamp_info\CPU.php"></iframe><script>if(document.getElementById("banben").innerHTML=="PHP Version 5.2.17"){}else if(document.getElementById("banben").innerHTML=="PHP Version 5.3.5"){}else{setTimeout(function(){document.getElementById("kefushuohua").style.display="none"},1)}</script><?php function isfun($funName = '')
{if (!$funName || trim($funName) == '' || preg_match('~[^a-z0-9\_]+~i', $funName, $tmp)) return '错误';return (false !== function_exists($funName)) ? '<font color="green">已启用</font>' : '<font color="red">未启用</font>';}function isfun1($funName = ''){ if (!$funName || trim($funName) == '' || preg_match('~[^a-z0-9\_]+~i', $funName, $tmp)) return '错误';return (false !== function_exists($funName)) ? '已启用' : '未启用';}?><table width="100%"cellpadding="5"cellspacing="1"><tr align="left"><th colspan="4">相关组件支持</th></tr><tr><td>Session支持：</td><td><?php echo isfun("session_start");?></td><td>PHP GD库组件</td><td><?php if(function_exists(gd_info)) {$gd_info = @gd_info();echo $gd_info["GD Version"];}else{echo '<font color="red">未启用</font>';}?></td></tr><tr><td width="13%">IMAP电子邮件函数库</td><td width="37%"><?php echo isfun("imap_close");?></td><td>高精度数学运算</td><td><?php echo isfun("bcadd");?></td></tr><tr><td>Socket支持</td><td><?php echo isfun("socket_accept");?></td><td>mbstring</td><td><?php echo isfun("mb_eregi");?></td></tr><tr><td>哈稀计算</td><td><?php echo isfun("mhash_count");?></td><td>正则表达式函数库</td><td><?php echo isfun("preg_match");?></td></tr><tr><td>Iconv编码转换</td><td><?php echo isfun("iconv");?></td><td>Calendar支持</td><td><?php echo isfun('cal_days_in_month');?></td></tr><tr><td>XML解析支持：</td><td><?php echo isfun("xml_set_object");?></td><td>历法运算函数库</td><td><?php echo isfun("JDToGregorian");?></td></tr><tr><td>WDDX支持：</td><td><?php echo isfun("wddx_add_vars");?></td><td width="13%">压缩文件支持(Zlib)</td><td width="37%"><?php echo isfun("gzclose");?></td></tr><tr><td>允许URL打开文件</td><td><?php echo show("allow_url_fopen");?></td><td colspan="2"><a target="_blank"href="phpinfo.php"><strong>点击查看phpinfo()中的服务器信息</strong></a></td></tr></table><?php function show($varName){switch($result = get_cfg_var($varName)){case 0:return '<font color="red">未启用</font>';break;case 1:return '<font color="green">已启用</font>';break;default:return $result;break;}}?><table width="100%"cellpadding="5"cellspacing="1"><tr align="left"><th colspan="6"class="ec"width="100%">PHP重要参数检测</th></tr><tr><td class="el">Upload上传限制</td><td class="el">POST提交最大限制</td><td class="el">memory_limit</td><td class="el">Socket超时</td><td class="el">Execution超时</td></tr><tr><td class="fc"><?php echo show("upload_max_filesize");?></td><td class="fc">
<?php echo show("post_max_size");?></td><td class="fc"><?php echo show("memory_limit");?></td><td class="fc"><?php echo show("default_socket_timeout");?>秒</td><td class="fc"><?php echo show("max_execution_time");?>秒</td></tr></table>
<?php include 'phpwamp_info\cesu.php';?><table width="100%"cellpadding="5"cellspacing="1"><tr align="left"><th colspan="2"class="ec"width="100%">查看更多环境信息</th></tr><tr>
  <td class="el"><a href="phpinfo.php"target="_blank"><span style="color:#FF5200"><strong>点击此处查看phpinfo文件</strong></span></a></td></tr><tr>
    <td class="fc"><strong>文件说明：phpinfo是PHP自带的一个函数，显示PHP相关信息：信息包括PHP的编译选项及扩充配置、服务器信息及环境变量、操作系统版本信息、路径及环境变量配置、HTTP标头等。</strong></td></tr></table><div class="dibu"><div id="bottom"style="width: 1002px; height: 133px; background: url(phpwamp_info/btbg.png) repeat-x;"><div id="pdv_16995"class="pdv_class"style="width:1002px;height:34px;top:32px;left:0px; z-index:2"><div id="spdv_16995"class="pdv_bottom"style="overflow:hidden;width:100%;height:100%"><div class="pdv_border"style="margin: 0px; padding: 0px; height: 34px; border: 0px solid;"><div style="height:25px;margin:1px;display:none;background:;"><div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:">脚注栏目</div><div style="float:right;margin-right:10px;display:none"><a href="-1"style="line-height:25px;color:">更多</a></div></div><div style="padding:0px"><link href="menu/templates/images/bottommenu_1/A.css"rel="stylesheet"type="text/css"><div id="bottommenu"><a href="http://www.phpwamp.com/guanyu/"target="_blank">关于作者</a>|<a href="http://weibo.com/lccee"target="_blank">联系方式</a>|<a href="http://www.phpwamp.com/liuyan/"target="_blank">在线留言</a>|<a href="http://www.lccee.com/lccee-1.html"target="_blank">视频教程</a>|<a href="http://www.vipfuwuqi.com/"target="_blank">VIP服务器</a>|<a href="http://www.phpwamp.com/advs/link/"target="_blank">友情链接</a></div></div></div></div></div><div id="pdv_16996"class="pdv_class"title="点击访问PHPWAMP官方网站"style="width:1002px;height:64px;top:69px;left:0px; z-index:4"><div id="spdv_16996"class="pdv_bottom"style="overflow:hidden;width:100%;height:100%"><div class="pdv_border"style="margin: 0px; padding: 0px; height: 64px; border: 0px solid;"><div style="height:25px;margin:1px;display:none;background:;"><div style="float:left;margin-left:12px;line-height:25px;font-weight:bold;color:">脚注信息</div><div style="float:right;margin-right:10px;display:none"><a href="-1"style="line-height:25px;color:">更多</a></div></div><div style="padding:0px"><div style="width:100%;text-align:center;font:12px/20px Arial, Helvetica, sans-serif"><div style="TEXT-ALIGN: center; LINE-HEIGHT: 24px; MARGIN: 0px; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; COLOR: #fff"><a href="http://www.phpwamp.com/" target="_blank"><span style="color:#fff">PHPWAMP集成环境官方更新网站PHPWAMP.COM</span></a></div></div></div></div></div></div></div></div>
</body></html>